class Car:
    def __init__(self, model, name):
        self.name = name
        self.model = model

    def display_info(self):
        print(f'这只{self.model}的名字叫{self.name}')


my_car = Car("泰迪", "史蒂芬")
my_car.display_info()

print('')
